﻿// Models/Components/BaseComponent.cs
using Newtonsoft.Json;
using System.Collections.Generic;

namespace AmisSdk.Models.Components
{
    public abstract class BaseComponent
    {
        [JsonProperty("type")]
        public abstract string Type { get; }

        [JsonExtensionData]
        public IDictionary<string, object> AdditionalProperties { get; set; } = new Dictionary<string, object>();
    }
}
